package com.hcinfos.gsoo.enity;

import java.io.Serializable;
import java.util.List;

import com.amap.api.services.poisearch.Groupbuy;

public class GroupByInfo extends BaseShopInfo implements Serializable,
		Comparable<GroupByInfo> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5147425109183004726L;
	private List<Groupbuy> list;
	private String url;

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public List<Groupbuy> getList() {
		return list;
	}

	public void setList(List<Groupbuy> list) {
		this.list = list;
	}

	@Override
	public int compareTo(GroupByInfo o) {
		if (this.getDistance() > o.getDistance()) {
			return 1;
		} else {
			return -1;
		}
	}

}
